
/*
 * @AUthor: Leo Tang
 * @Data: 2023/05/08
 * @Description: # react应用入口页面
 */ 
import React from 'react';
import { createRoot } from 'react-dom/client';
import App from './App';

const root = document.querySelector('#root')

try {
    root && createRoot(root).render(<App />)
} catch (error) {
  console.error(`错误：${error}`)
}

